<?php

class DeveloperController extends BaseController {

    public function init() {
        if(!$this->session()) {
            $this->redirect(URL_USER_LOGIN);
            exit;
        }
        $this->layout = '//layouts/layout_developer';
    }

    public function actionIndex() {

        $arr = array(
            'title' => 'PainterServer-首页'
        );
        $this->render('index', $arr);
    }

}
